package com.pig.util.net;

import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;

public interface PigRequestInterface {
	
	public void requestReceiveResponse(PigRequest request, HttpResponse httpResponse);
	public void requestReceiveRawData(PigRequest request, HttpEntity httpEntity);
	public void requestFailWithError(PigRequest request, int statusCode);
	public void requestFinishLoadingWithResult(PigRequest request, String result);
	public void requestRedirectWithUrl(String redirectUrl);
	
}
